import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import InspectView from '../views/InspectView.vue'
import StatisticalView from '../views/StatisticalView.vue'
import SystemView from '../views/SystemView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView
    },
    {
      path: '/inspect',
      name: 'inspect',
      component: InspectView
    },
    {
      path: '/statistic',
      name: 'statistic',
      component: StatisticalView
    },
    {
      path: '/system',
      name: 'system',
      component: SystemView
    }
  ]
})

export default router
